NET MESSAGE EXISTS
This command will return a value of one if the message queue contains one or more messages for the current application.
Return Integer=NET MESSAGE EXISTS()
This command will return a value of one if the message queue contains one or more messages for the current application. A value zero means the queue is empty
A value zero means the queue is empty.
rem Network game can communicate numbers and strings
while inkey$()<>"x"
cls
print "HANDLE NET MESSAGES (Press X To Continue)"
if mouseclick()=1
print "SENDING..."
send net message string 0,"hello world"
endif
rem Receive Part (from all other players)
get net message
if net message exists()=1 then print "RECEIVING..."
while net message exists()=1
ReturnTo=net message player to()
ReturnFrom=net message player from()
if net message type()=3 then ReturnString$=net message string$()
get net message
endwhile
endwhile
MULTIPLAYER Commands Menu
Index